package homework0301;

public class IntegerDemo1 {
    public static void main(String[] args) {
        String s1="123456";
        int age=Integer.parseInt(s1);
        System.out.println(age);

        String s2="123.456";
        double d1=Double.parseDouble(s2);
        System.out.println(d1);



    }
}
